﻿/*  
 * Helix Engine
 * http://helixengine.codeplex.com/
 * 
 * Copyright (c) 2010 - 2011 Joe Hegarty
 *  
 * This source code is subject to the terms of the Microsoft Public License (Ms-PL). 
 *  
 * Redistribution and use in source and binary forms, with or without modification, 
 * is permitted provided that redistributions of the source code retain the above 
 * copyright notices and this file header. 
 * 
 * For details please see http://www.opensource.org/licenses/ms-pl.html 
 *  
 * All other rights reserved. 
 *
 */  


using System;
using System.Windows.Browser;

using HelixGame;
using HelixGame.World;

namespace HelixClient
{
    [ScriptableType]
    public class JavascriptInterface
    {
        public void LoadRoom(int roomId)
        {
            Game.Get().WorldManager.LoadRoom(roomId);
        }
    }
}
